import axios from "axios";

// 创建axios实例
const request = axios.create({
  //因为配置了代理，所以不需要写http://localhost:8080拼接，直接是/api
  baseURL: "/api",
  timeout: 5000,
});
export default request;